package com.vhall.component.controller.redpacket.facade;

import com.vhall.component.entity.redpacket.vo.PayStatusSetReqVO;
import com.vhall.component.entity.redpacket.vo.RedPacketRspVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author yongzheng.xu
 * @date 2021/7/8 20:00
 */
@FeignClient(value = "RedPacketInnerFacade", path = "/v4/redpacket/inner")
public interface RedPacketInnerFacade {

    /**
     * 支付端回调设置红包支付状态
     *
     * @param reqVO 设置信息
     * @return 房间地址
     */
    @PostMapping("/pay-status-set")
    RedPacketRspVO payStatusSet(PayStatusSetReqVO reqVO);

}
